<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
	<%@page import="Entity.*" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>修改学生信息</title>
</head>
<body>
	<link rel="stylesheet" href="<%=request.getContextPath() %>/css/backstage.css" type="text/css"></link>
	<div class="header">
		<font size='6' color="#62A8EA"><br />&emsp;&emsp;&emsp;修改学生信息</font>
	</div>
	<%
	Student stu=new Student();
	if(session.getAttribute("studentUpdate_session")!=null){
		stu=(Student)session.getAttribute("studentUpdate_session");
		session.removeAttribute("studentUpdate_session");
	}
	%>
	<div class="body">
		<form action="../updatestudent" method="post"
			name="alter_student_form">
			<!-- <input type="hidden" name="opttype" value="update" /> -->
			<table border="1" class="mytable">
				<tr>
					<td>学号：</td>
					<td><input type="text" name="student_id"
						value=<%=stu.getStudent_id() %> readonly></td></tr>
				<tr>
				<td>姓名：</td>
				<td><input type="text" name="student_name" value=<%=stu.getStudent_name() %>></td></tr>
				<tr>
				<td>性别：</td>
				<td><input type="text" name="student_sex" value=<%=stu.getStudent_sex() %>></td></tr>
				<tr>
				<td>学院：</td>
				<td><input type="text" name="student_dept" value=<%=stu.getStudent_dept() %>></td></tr>
				<tr>
				<td>专业：</td>
				<td><input type="text" name="student_major" value=<%=stu.getStudent_major() %>></td></tr>
				<tr>
				<td>班级：</td>
				<td><input type="text" name="student_class" value=<%=stu.getStudent_class() %>></td></tr>
				<tr>
				<td>密码：</td>
				<td><input type="text" name="student_pwd" value=<%=stu.getStudent_pwd() %>></td></tr>
				<tr><td colspan="2" align="center"><input type="submit" value="修改"></td></tr>
			</table>
		</form>
	</div>
</body>
</html>